Skip to content

feat(cpuinfo): Added cpu info collector #2004

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

vimalk78
Copy link
Collaborator

Added a collector for cpu info built on prometheus procfs

Copy link

codecov bot commented Apr 14, 2025

Codecov Report

Attention: Patch coverage is 86.90476% with 11 lines in your changes missing coverage. Please review.

Project coverage is 91.42%. Comparing base (2bde02f) to head (56645c2).
Report is 10 commits behind head on reboot.

Files with missing lines Patch % Lines
internal/exporter/prometheus/collectors/cpuinfo.go 82.60% 6 Missing and 2 partials ⚠️
internal/exporter/prometheus/prometheus.go 91.17% 2 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           reboot    #2004      +/-   ##
==========================================
+ Coverage   90.52%   91.42%   +0.90%     
==========================================
  Files          15       17       +2     
  Lines         844      991     +147     
==========================================
+ Hits          764      906     +142     
- Misses         62       66       +4     
- Partials       18       19       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@vimalk78 vimalk78 force-pushed the cpu-info-with-procfs branch from 141b89f to 5043098 Compare April 14, 2025 20:25
@vimalk78 vimalk78 marked this pull request as draft April 14, 2025 20:29
@vimalk78 vimalk78 changed the title feat(cpuinfo): Added cpu info collector WIP: feat(cpuinfo): Added cpu info collector Apr 14, 2025
@vimalk78 vimalk78 force-pushed the cpu-info-with-procfs branch from 5043098 to be6af96 Compare April 16, 2025 14:33
@vimalk78 vimalk78 changed the title WIP: feat(cpuinfo): Added cpu info collector feat(cpuinfo): Added cpu info collector Apr 16, 2025
@vimalk78 vimalk78 force-pushed the cpu-info-with-procfs branch from be6af96 to b503cfd Compare April 16, 2025 15:04
  Added a collector for cpu info built in prometheus procfs

Signed-off-by: Vimal Kumar <vimal78@gmail.com>
@vimalk78 vimalk78 force-pushed the cpu-info-with-procfs branch from b503cfd to 56645c2 Compare April 16, 2025 18:10
@sthaha sthaha marked this pull request as ready for review April 16, 2025 23:13
@sthaha sthaha merged commit 40b7eb5 into sustainable-computing-io:reboot Apr 16, 2025
7 of 8 checks passed
@vprashar2929 vprashar2929 added the feat A new feature or enhancement label Apr 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feat A new feature or enhancement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants